Whoever, in any case not provided for in section 224 or section 225 or in any other law for the time being in force, intentionally offers any resistance or illegal obstruction to the lawful apprehension of himself or any other person, or escapes or attempts to escape from any custody in which he is lawfully detained, or rescues or attempts to res...