The Supreme Court on Tuesday said orders passed by trial courts in bail matters in breach of its guidelines and the law cannot be countenanced and the magistrates concerned may be taken off judicial work and sent to academies for their skill upgrade.