the law is an ass

The law is an ass. - Закон что дышло - куда повернул, туда и вышло.
Usage:said about a law that is so stupid that it should be changed or repealed (UK SAYING)
Mr Bumble actually said 'If the law supposes that, ... the law is a ass, a idiot' (Dickens, Oliver Twist), but it would be pedantic to insist on accurate quotation of the wording, which was intended to prick the speaker's pomposity. (There is a line in Revenge for Honour by George Chapman (1559-1634), 'I am ashamed the law is such an ass', but it is Dickens' use that accounts for the currency of the expression.)