Opcode 146 works on containers but setting param2 "Type" to 1 does not. The .spl is cast normally (as if param2=0) rather than applied (when param2=1) silently. Download attachment SPWI207 (Knock) and then cast it on any container to reproduce.
Opcode 148 does not work with containers. Opcode 148 can be useful if you have many .spls embedded/cast by one spell. Download attachment SPWI011, CLUA yourself to AR3016 (BGII: ToB), and open the trapped containers at x=1145 y=860 or x=1365 y=860 to reproduce.
[See SPWI011 and SPWI207 attachments in the second post]